package cn.darkhorse.device.dto.queryparam;

import com.alibaba.fastjson2.JSON;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 采集设备查询条件
 * @author yuanjun
 * @since 2022/12/7 13:50
 */
@Data
@Accessors(chain = true)
public class AcquisitionDeviceQueryParamDTO {
    private String deviceCode;
    private Long deviceDept;
    private String deviceName;
    private String deviceMark;
    private Long deviceType;
    //产能设备 0否 1是
    private Integer isCapacityDevice;
    //数据采集设备
    private Integer isAcquisitionDevice;



    public static void main(String[] args) {
        AcquisitionDeviceQueryParamDTO dto = new AcquisitionDeviceQueryParamDTO();
        dto.setDeviceDept(104L).setDeviceMark("01").setDeviceName("射蜡机").setDeviceType(1L);
        System.out.println(JSON.toJSONString(dto));
    }
}
